const http = require('http');
const url = require('url');
const server = require('./route');

const hostname = '127.0.0.1';
const port = 3001;

console.log("server:",server)

server.listen(port, hostname, () => {
  console.log(`Server running at http://${hostname}:${port}/`);
});